package org.example.dao.entity.post;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (PReport)实体类
 *
 * @author makejava
 * @since 2023-09-18 16:09:40
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PReport implements Serializable {
    private static final long serialVersionUID = 510626423937010667L;
    
    private Long id;
    /**
     * 原因
     */
    private String due;
    
    private Long linkId;
    
    private Date createTime= new Date();
    
    private Date updateTime = new Date();
    
    private Integer isValid = 1;
    /**
     * 未处理，已处理
     */
    private String status = "未处理";
    
    private Long userId;

    private String type;

    private String kind;

    public PReport( Long id,Long userId, String due, Long linkId, String type,String kind) {
        this.id = id;
        this.userId = userId;
        this.due = due;
        this.linkId = linkId;
        this.type = type;
        this.kind = kind;
    }
}

